package com.bingxue.edu.management.shop.model.req;

import com.bingxue.edu.common.enums.OperateSourceEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.List;

/**
 * 订单价格计算请求
 *
 * @author panbo
 * @since 2024/08/27 14:31
 */
@Data
@Schema(description = "订单价格计算请求")
public class OrderPriceCalculateReq {

    @Schema(description = "学生id")
    @NotEmpty(message = "学生id不能为空")
    private String studentId;

    @Schema(description = "报名班级")
    @NotEmpty(message = "报名班级不能为空")
    private List<OrderItemCreateReq> orderItemList;

    @Schema(description = "优惠券列表")
    private List<String> couponIdList;

    @Schema(name = "操作来源")
    private OperateSourceEnum operateSource;
}
